package cn.kai.user.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterEmail {
    //电话;
    @NotBlank(message = "邮箱不能为空")
    private String email;
    //图形验证码;
    @NotBlank(message = "图形验证码不能为空")
    private String imageCodeValue;
    //验证码的RedisKey;
    @NotBlank(message = "验证码的RedisKey不能为空")
    private String imageCodeKey;
    //验证码;
    @NotBlank(message = "手机验证码不能为空")
    private String smsCode;
    //密码;
    @NotBlank(message = "密码不能为空")
    private String password;
    //确认密码;
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;
}
